//
//  InforTopScrollView.h
//  YiXiProject
//
//  Created by xingshuai on 2019/7/27.
//  Copyright © 2019 iMac. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PageControl.h"

NS_ASSUME_NONNULL_BEGIN

@interface InforTopScrollView : UIView <UIScrollViewDelegate>

@property (nonatomic , strong) UIScrollView *scrollView;
@property (nonatomic , assign) CGFloat width;
@property (nonatomic , assign) CGFloat height;
@property (nonatomic , strong) NSMutableArray *dataArray;
@property (nonatomic , strong) PageControl *pageControl;
@property (nonatomic , assign) float heightPage;

@property (nonatomic , strong) NSString *imgPlaceholder;

//自定义init方法
- (id)initWithFrame:(CGRect)frame addImageArray:(NSMutableArray *)addImageArray addPlaceholderImg:(NSString *)img;

@end

NS_ASSUME_NONNULL_END
